
const goods = {
    state: {
        goodsId: 0,
        orderId: 0,
        detailId: 0
    },
    mutations: {
        setgoodsId (state, val) {
            state.goodsId = val;
        },
        setOrderId (state, val) {
            state.orderId = val;
        },
        setDetailId (state, val) {
            state.detailId = val;
        }
    }
};

export default goods;
